﻿using System.Data;
using MyWeb.Data;

namespace MyWeb.Business
{
	public class tblImgAlbumService
	{
		private static readonly tblImgAlbumDAL db = new tblImgAlbumDAL();
		#region[tblImgAlbum_GetById]
		public static DataTable tblImgAlbum_GetById(tblImgAlbumInfo Data)
		{
			return db.tblImgAlbum_GetById(Data);
		}
		#endregion
		#region[tblImgAlbum_GetByAll]
		public static DataTable tblImgAlbum_GetByAll()
		{
			return db.tblImgAlbum_GetByAll();
		}
		#endregion
		#region[tblImgAlbum_GetByTop]
		public static DataTable tblImgAlbum_GetByTop(string Top, string Where, string Order)
		{
			return db.tblImgAlbum_GetByTop(Top, Where, Order);}
		#endregion
		#region[tblImgAlbum_Insert]
		public static void tblImgAlbum_Insert(tblImgAlbumInfo Data)
		{
			 db.tblImgAlbum_Insert(Data);
		}
		#endregion
		#region[tblImgAlbum_Update]
		public static void tblImgAlbum_Update(tblImgAlbumInfo Data)
		{
			 db.tblImgAlbum_Update(Data);
		}
		#endregion
		#region[tblImgAlbum_Delete]
		public static void tblImgAlbum_Delete(string Data)
		{
			 db.tblImgAlbum_Delete(Data);
		}
		#endregion
		#region[tblImgAlbum_GetBy_uid]
		public static DataTable tblImgAlbum_GetBy_uid(string _uid)
		{
			 return db.tblImgAlbum_GetBy_uid(_uid);
		}
		#endregion
	}
}